package m3d29;

public class bPerson {
    private String name;

    public void method1(){
        for (int i = 0; i < 3; i++) {
            System.out.println(name);
        }
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public bPerson(String name) {
        this.name = name;
    }

    public bPerson() {
    }
}
